package cn.edu.csust.coursecard.common;

public class RedisKeyEnum {
    public static String USER_TOKEN_PREFIX = "getTokenBy:";
    public static String USER_DBSTUINFO_PREFIX = "getDBStuInfoBy:";
    public static String USER_JWSTUINFO_PREFIX = "getJWStuInfoBy:";
    public static String USER_ID_PREFIX = "getUserIdBy:";
    public static String USER_STUNUM_PREFIX = "getStuNumBy:";
    public static String NOW_SEMESTER_PREFIX = "nowTerm";
    public static String WEEKCOURSE_PREFIX = "nowTerm";
    public static final String NOW_WEEK_DATE = "nowWeekDate";
    public static final String STU_INFO = "stuInfo";
    public static final String JW_NOTICE = "jwNotice";
    public static final String JW_NOTICE_DETAIL = "getJwNoticeDetailBy:";
    public static final String NOTICE_CACHE_NAME = "notice";
    public static final String S3_NAME = "s3";
    public static final String METADATA_NAME = "meta";
    public static final String WEBSOCKET_NAME = "ws";
    public static String POST_REPORT_ID = "getPostReportIdBy:";
    //登录验证过期时间
    public static long TOKEN_EXPIRE = 60 * 60;
    //半天
    public static long Half_DAY_EXPIRE = 60 * 60 * 12;
    //一天
    public static long ONE_DAY_EXPIRE = 60 * 60 * 24;
    //一周的课表过期时间
    public static long WEEKCOURSE_EXPIRE = 60 * 60 * 24;
    //notice通知过期时间
    public static final long NOTICE_EXPIRE = 60 * 60 * 24;

}
